home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / schdate.c < prev    next >
Text File  |  1989-07-29  |  32KB  |  1,080 lines

  1. /*
  2. ==============================================================================
  3. | (c) 1989, SchönSoft & John-Marc C. Arnau       CREATION DATE:  03/05/89    |
  4. |----------------------------------------------------------------------------|
  5. | MODULE: Date-Time Handling                     VERSION: 1.0   REVISION: 2  |
  6. |----------------------------------------------------------------------------|
  7. | COPYRIGHT NOTICE                                                           |
  8. | ================                                                           |
  9. |                                                                            |
  10. | Everyone is permitted to copy and distribute verbatim copies               |
  11. | of this license and source file, but changing it is not allowed.           |
  12. | You can also use this wording to make the terms for other programs.        |
  13. | The license agreements of most software companies keep you at the          |
  14. | mercy of those companies.  By contrast, my license is intended to          |
  15. | give everyone the right to share this source file. To make sure that       |
  16. | you get the rights I want you to have, I need to make restrictions         |
  17. | that forbid anyone to deny you these rights or to ask you to surrender     |
  18. | the rights.  Hence this license agreement.                                 |
  19. |                                                                            |
  20. | Specifically, I want to make sure that you have the right to give          |
  21. | away copies of this source file, that you receive source code or else      |
  22. | can get it if you want it, that you can change this source file or use     |
  23. | pieces of it in new free programs, and that you know you can do these      |
  24. | things.                                                                    |
  25. |                                                                            |
  26. | To make sure that everyone has such rights, I have to forbid you to        |
  27. | deprive anyone else of these rights. For example, if you distribute        |
  28. | copies of this source file, you must give the recipients all the rights    |
  29. | that you have. You must make sure that they, too, receive or can get the   |
  30. | source code. And you must tell them their rights.                          |
  31. |                                                                            |
  32. | Also, for my own protection, I must make certain that everyone             |
  33. | finds out that there is no warranty for this source file. If this source   |
  34. | file is modified by someone else and passed on, I want its recipients      |
  35. | to know that what they have is not what I distributed, so that any problems| 
  36. | introduced by others will not reflect on my reputation.                    |
  37. |                                                                            |
  38. | Therefore I, JOHN-MARC C. ARNAU make the following terms which say what    |
  39. | you must do to be allowed to distribute or change this source file.        |
  40. |                                                                            |
  41. |                                                                            |
  42. |            COPYING POLICIES                                     |
  43. |                                                                            |
  44. | 1. You may copy and distribute verbatim copies of this source code         |
  45. | as you receive it, in any medium, provided that you conspicuously and      |
  46. | appropriately publish on each copy a valid copyright notice "Copyright     |
  47. | (C) 1989 John-Marc C. Arnau." (or with whatever year is appropriate);      |
  48. | keep intact the notices on all files that refer to this License Agreement  |
  49. | and to the absence of any warranty; and give any other recipients of the   |
  50. | source file a copy of this License Agreement along with the program.       |
  51. | You may charge a distribution fee for the physical act of transferring     |
  52. | a copy.                                                                    |
  53. |                                                                            |
  54. | 2. You may modify your copy or copies of this source file or any portion   |
  55. | of it, and copy and distribute such modifications under the terms of       |
  56. | Paragraph 1 above, provided that you also do the following:                |
  57. |                                                                            |
  58. |   a) cause the modified files to carry prominent notices stating           |
  59. |   that you changed the files and the date of any change; and               |
  60. |                                                                            |
  61. |   b) cause the whole of any work that you distribute or publish,           |
  62. |   that in whole or in part contains or is a derivative of this source      |
  63. |   file or any part thereof, to be licensed at no charge to all third       |
  64. |   parties on terms identical to those contained in this License            |
  65. |   Agreement (except that you may choose to grant more extensive            |
  66. |   warranty protection to some or all third parties, at your option).       |
  67. |                                                                            |
  68. |   c) You may charge a distribution fee for the physical act of             |
  69. |   transferring a copy, and you may at your option offer warranty           |
  70. |   protection in exchange for a fee.                                        |
  71. |                                                                            |
  72. |   Mere aggregation of another unrelated program with this program          |
  73. |   (or its derivative) on a volume of a storage or distribution medium      |
  74. |   does not bring the other program under the scope of these terms.         |
  75. |                                                                            |
  76. | 3. You may copy and distribute this source file (or a portion or           |
  77. | derivative of it, under Paragraph 2) in object code or executable form     |
  78. | under the terms of Paragraphs 1 and 2 above provided that you also         |
  79. | do one of the following:                                                   |
  80. |                                                                            |
  81. |   a) accompany it with the complete corresponding machine-readable         |
  82. |   source code, which must be distributed under the terms of                |
  83. |   Paragraphs 1 and 2 above; or,                                            |
  84. |                                                                            |
  85. |   b) accompany it with a written offer, valid for at least three           |
  86. |   years, to give any third party free (except for a nominal                |
  87. |   shipping charge) a complete machine-readable copy of the                 |
  88. |   corresponding source code, to be distributed under the terms of          |
  89. |   Paragraphs 1 and 2 above; or,                                            |
  90. |                                                                            |
  91. |   c) accompany it with the information you received as to where the        |
  92. |   corresponding source code may be obtained.    (This alternative is         |
  93. |   allowed only for noncommercial distribution and only if you              |
  94. |   received the program in object code or executable form alone.)           |
  95. |                                                                            |
  96. | For an executable file, complete source code means all the source code     |
  97. | for all modules it contains; but, as a special exception, it need not      |
  98. | include source code for modules which are standard libraries that          |
  99. | accompany the operating system on which the executable file runs.          |
  100. |                                                                            |
  101. | 4. You may not copy, sublicense, distribute or transfer this source file   |
  102. | except as expressly provided under this License Agreement.  Any attempt    |
  103. | otherwise to copy, sublicense, distribute or transfer this source file     |
  104. | is void and your rights to use the program und